qtbase-opensource-src.git
6 years agodisable htmlinfo example which contains non-free files
Dmitry Shachnev [Thu, 30 Jan 2020 21:03:38 +0000 (21:03 +0000)]
disable htmlinfo example which contains non-free files

Forwarded: not-needed
Last-Update: 2014-12-17

Gbp-Pq: Name no_htmlinfo_example.diff

6 years agoInitial GNU/kFreeBSD support
Pino Toscano [Thu, 30 Jan 2020 21:03:38 +0000 (21:03 +0000)]
Initial GNU/kFreeBSD support

Last-Update: 2015-06-03
Forwarded: no

- add a gnukfreebsd-g++ qmake mkspec, mostly copied from the hurd-g++ one
- properly use LD_LIBRARY_PATH on GNU/* systems

Gbp-Pq: Name gnukfreebsd.diff

6 years agoQLibrary/Unix: do not attempt to load a library relative to $PWD
Debian Qt/KDE Maintainers [Thu, 30 Jan 2020 21:03:38 +0000 (21:03 +0000)]
QLibrary/Unix: do not attempt to load a library relative to $PWD

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=e6f1fde24f77f63f
Last-Update: 2020-01-30

I added the code in commit 5219c37f7c98f37f078fee00fe8ca35d83ff4f5d to
find libraries in a haswell/ subdir of the main path, but we only need
to do that transformation if the library is contains at least one
directory separator. That is, if the user asks to load "lib/foo", then we
should try "lib/haswell/foo" (often, the path prefix will be absolute).

When the library name the user requested has no directory separators, we
let dlopen() do the transformation for us. Testing on Linux confirms
glibc does so:

$ LD_DEBUG=libs /lib64/ld-linux-x86-64.so.2 --inhibit-cache ./qml -help |& grep Xcursor
   1972475:     find library=libXcursor.so.1 [0]; searching
   1972475:       trying file=/usr/lib64/haswell/avx512_1/libXcursor.so.1
   1972475:       trying file=/usr/lib64/haswell/libXcursor.so.1
   1972475:       trying file=/usr/lib64/libXcursor.so.1
   1972475:     calling init: /usr/lib64/libXcursor.so.1
   1972475:     calling fini: /usr/lib64/libXcursor.so.1 [0]

Gbp-Pq: Name CVE-2020-0570.diff

6 years agodo not load plugin from the $PWD
Debian Qt/KDE Maintainers [Thu, 30 Jan 2020 21:03:38 +0000 (21:03 +0000)]
do not load plugin from the $PWD

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=bf131e8d2181b340
Last-Update: 2020-01-30

Gbp-Pq: Name CVE-2020-0569.diff

6 years agoadd RISC-V detection
Debian Qt/KDE Maintainers [Thu, 30 Jan 2020 21:03:38 +0000 (21:03 +0000)]
add RISC-V detection

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=9a6a84731131b205
Last-Update: 2019-12-31

Gbp-Pq: Name riscv.diff

6 years agoIgnore non-existent .ui file dependencies
Debian Qt/KDE Maintainers [Thu, 30 Jan 2020 21:03:38 +0000 (21:03 +0000)]
Ignore non-existent .ui file dependencies

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=90779d96adfa51a3
Last-Update: 2019-11-05

Commit 80dea664 broke .ui files with global includes that are not part
of the project, because we blindly added every file path that falls
out of 'uic -d' as dependency.

Introduce the extra compiler CONFIG flag dep_existing_only to bring
back the old behavior that ignores non-existent dependencies and set
it for uic.

Gbp-Pq: Name uic_global_includes.diff

6 years agoQPSQL: Add support for PostgreSQL 12
Debian Qt/KDE Maintainers [Thu, 30 Jan 2020 21:03:38 +0000 (21:03 +0000)]
QPSQL: Add support for PostgreSQL 12

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=14b61d48e8bad622
Last-Update: 2019-10-20

Gbp-Pq: Name postgresql_12.diff

6 years agobackport some fixes related to documentation building
Debian Qt/KDE Maintainers [Thu, 30 Jan 2020 21:03:38 +0000 (21:03 +0000)]
backport some fixes related to documentation building

Origin: upstream, this is a backport of four commits:
 - https://code.qt.io/cgit/qt/qtbase.git/commit/?id=0014d81b1907621e
   doc: Revert to documenting the actual functions
 - https://code.qt.io/cgit/qt/qtbase.git/commit/?id=81d8319276f26d39
   doc: Fix all clang parse errors in QtBase during PCH build
 - https://code.qt.io/cgit/qt/qtbase.git/commit/?id=c306663990ba8681
   Fix qdoc errors in QProcess header
 - https://code.qt.io/cgit/qt/qtbase.git/commit/?id=98cb9275d064d8b9
   doc: clang reported two fake declarations to be the same
Last-Update: 2019-06-15

These changes help us to eliminate most of the warnings like this:
(qdoc) warning: No documentation for 'QRect::bottom() const'

There were 3603 such warnings without this patch, with it only 76
are left.

Gbp-Pq: Name docs_fixes.diff

6 years agofix notification of QDockWidget when it gets undocked
Debian Qt/KDE Maintainers [Thu, 30 Jan 2020 21:03:38 +0000 (21:03 +0000)]
fix notification of QDockWidget when it gets undocked

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=06b8644953fc5267
Last-Update: 2019-06-14

Before the patch the notification was emitted only when the docker
was attached to the panel or changed a position on it.

It looks like the old behavior was documented in a unittest,
so this patch might actually be a "behavior change".

Note: https://mail.kde.org/pipermail/distributions/2019-April/000317.html

Gbp-Pq: Name qdockwidget_undocked_notification.diff

6 years ago[PATCH] MySQL: Free the results when QSqlQuery::finished() is called
Daniel Vrátil [Sat, 1 Dec 2018 16:56:41 +0000 (17:56 +0100)]
[PATCH] MySQL: Free the results when QSqlQuery::finished() is called

Calling mysql_stmt_free_result() frees the results of the last
executed query while keeping the prepared statement valid. This
allows one to keep around prepared QSqlQueries without the overhead
of keeping all the results in memory.

Change-Id: I4589e90857cc4e9a6f9612799bfca967a67e2ab2
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Gbp-Pq: Name mysql_free_results_when_qsqlquery_finished_is_called.patch

6 years agoqtbase-opensource-src (5.12.5+dfsg-8) unstable; urgency=medium
Dmitry Shachnev [Thu, 30 Jan 2020 21:03:38 +0000 (21:03 +0000)]
qtbase-opensource-src (5.12.5+dfsg-8) unstable; urgency=medium

  * Revert adding alternative qtbase5-gles-dev dependencies:
    - For qtbase5-private-dev: it is wrong, those who need private headers
      and OpenGL ES specific API should use qtbase5-private-gles-dev, not
      qtbase5-private-dev.
    - For libqt5opengl5-dev: it does not help, libqt5opengl5 uses desktop
      OpenGL specific symbols, so it is not installable with libqt5gui5-gles.
  * Remove explicit libqt5gui5 | libqt5gui5-gles dependencies from the
    platformtheme packages. Rely on ${shlibs:Depends} instead.
  * Override the remaining version-substvar-for-external-package error.
  * Backport fixes for two vulnerabilities:
    - CVE-2020-0569: Do not load plugin from the CWD.
    - CVE-2020-0570: Qt tries to load invalid library from CWD.
  * Make Qt 5 the default configuration in qtchooser, by installing the
    qt-default/qtchooser/default.conf symlink in libqt5core5a package.
  * Bump Standards-Version to 4.5.0, no changes needed.

[dgit import unpatched qtbase-opensource-src 5.12.5+dfsg-8]

6 years agoImport qtbase-opensource-src_5.12.5+dfsg-8.debian.tar.xz
Dmitry Shachnev [Thu, 30 Jan 2020 21:03:38 +0000 (21:03 +0000)]
Import qtbase-opensource-src_5.12.5+dfsg-8.debian.tar.xz

[dgit import tarball qtbase-opensource-src 5.12.5+dfsg-8 qtbase-opensource-src_5.12.5+dfsg-8.debian.tar.xz]

6 years agoImport qtbase-opensource-src_5.12.5+dfsg.orig.tar.xz
Dmitry Shachnev [Fri, 13 Sep 2019 07:35:33 +0000 (08:35 +0100)]
Import qtbase-opensource-src_5.12.5+dfsg.orig.tar.xz

[dgit import orig qtbase-opensource-src_5.12.5+dfsg.orig.tar.xz]